package com.raycloud.robot.custom.zdfUtils.dto.req;

import com.google.common.collect.ImmutableMap;
import java.util.Map;
import com.raycloud.robot.custom.zdfUtils.dto.resp.UploadBase64ZdfResponse;
import com.raycloud.robot.custom.zdfUtils.dto.basic.BaseZdfRequest;

public class UploadBase64ZdfRequest implements BaseZdfRequest<UploadBase64ZdfResponse>{
    private String image;
    public String getImage(){
        return this.image;
    }
    public void setImage(final String image){
        this.image=image;
    }
    @Override
    public String getHttpPath(){
        return "/common/v1/upload-image";
    }
    @Override
    public Map<String,Object> getParams(){
        return (Map<String,Object>)ImmutableMap.of("image",this.image);
    }
    @Override
    public Class getResponseClass(){
        return UploadBase64ZdfResponse.class;
    }
}
